﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
    public decimal totalPrice = 0;
    public string totalQuantity = "0";
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["cart"] != null)
        {
            BLShoppingCart cart = (BLShoppingCart)Session["cart"];
            totalPrice = cart.TotalPayment();
            totalQuantity = cart.TotalQuantity().ToString();
        }
    }
}
